package monitoring.sla.latency;

import java.util.Set;

public class Latency {

	private Set<String> operationName;
	private Double maxDuration;

	public Latency(Set<String> operationsName, Double maxDuration) {
		this.operationName=operationsName;
		this.maxDuration=maxDuration;
		System.out.println("Latency operationName: "+operationName+" maxDuration: "+maxDuration);
	}

	public Set<String> getOperationName() {
		return operationName;
	}

	public Double getMaxDuration() {
		return maxDuration;
	}

}
